package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

/**
 * @author CRG
 * @date :2023/12/18 17:32
 * @description:
 */
public class PaymentListApi implements IRequestApi {
    private Integer page;
    private Integer pageSize;

    public PaymentListApi setPage(Integer page) {
        this.page = page;
        return this;
    }

    public PaymentListApi setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/attach/v2/userOrder/orderHistory";
    }
    public static class Bean{

        private Integer id;
        private Integer user_id;
        private Integer order_type;
        private String pay_money;
        private String order_number;
        private String three_order_number;
        private Integer type;
        private String create_time;
        private Integer out_time;
        private String pay_method_id;
        private Integer img_type;
        private String order_type_name;
        private Integer invoice_status;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public Integer getUser_id() {
            return user_id;
        }

        public void setUser_id(Integer user_id) {
            this.user_id = user_id;
        }

        public Integer getOrder_type() {
            return order_type;
        }

        public void setOrder_type(Integer order_type) {
            this.order_type = order_type;
        }

        public String getPay_money() {
            return pay_money;
        }

        public void setPay_money(String pay_money) {
            this.pay_money = pay_money;
        }

        public String getOrder_number() {
            return order_number;
        }

        public void setOrder_number(String order_number) {
            this.order_number = order_number;
        }

        public String getThree_order_number() {
            return three_order_number;
        }

        public void setThree_order_number(String three_order_number) {
            this.three_order_number = three_order_number;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public Integer getOut_time() {
            return out_time;
        }

        public void setOut_time(Integer out_time) {
            this.out_time = out_time;
        }

        public String getPay_method_id() {
            return pay_method_id;
        }

        public void setPay_method_id(String pay_method_id) {
            this.pay_method_id = pay_method_id;
        }

        public Integer getImg_type() {
            return img_type;
        }

        public void setImg_type(Integer img_type) {
            this.img_type = img_type;
        }

        public String getOrder_type_name() {
            return order_type_name;
        }

        public void setOrder_type_name(String order_type_name) {
            this.order_type_name = order_type_name;
        }

        public Integer getInvoice_status() {
            return invoice_status;
        }

        public void setInvoice_status(Integer invoice_status) {
            this.invoice_status = invoice_status;
        }
    }
}
